package cn.lili.modules.permission.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 部门编辑DTO
 *
 * @author liushuai(liushuai711 @ gmail.com)
 * @version v4.0
 * @Description:
 * @since 2023/4/11 18:08
 */
@Data
public class DepartmentEditDTO {

    @ApiModelProperty(value = "部门id")
    private String id;

    @ApiModelProperty(value = "部门名称")
    private String title;

    @ApiModelProperty(value = "父id")
    private String parentId;

    @ApiModelProperty(value = "排序值")
    private Double sortOrder;

    @ApiModelProperty(value = "角色id列表")
    private String roleIds;

    /**
     * @see cn.lili.common.security.enums.SceneEnums
     */
    @ApiModelProperty(value = "场景", allowableValues = "MEMBER,STORE,SUPPLIER,MANAGER")
    private String scene;

    /**
     * 可以简介理解为场景下的id，与scene同步联用
     */
    @ApiModelProperty(value = "该场景下的id")
    private String extendId;
}
